package com.zzyl.service;

import com.zzyl.base.PageResponse;
import com.zzyl.dto.ReservationDto;
import com.zzyl.vo.ReservationVo;
import com.zzyl.vo.TimeCountVo;

import java.util.List;

public interface CustomerReservation {
    Integer getCancelCount(Long updateBy);

    void insert(ReservationDto reservationDto);

    PageResponse<ReservationVo> pageList(Integer pageNum, Integer pageSize, Integer status);

    void cancel(Long id);

    List<TimeCountVo> countByTime(Long time);
}
